<template>
  <div class="banner">
    <img src="~@/assets/concreteScreen/banner.png" class="img" alt="" />
    <div class="main">
      <div class="position">
        <img
          src="~@/assets/concreteScreen/triangles.png"
          class="img"
          alt=""
        />
        <div class="data">
          <span class="key">疑似存在脱空点位置</span>
          <span class="val">无</span>
        </div>
      </div>
      <div class="position">
        <img
          src="~@/assets/concreteScreen/triangles.png"
          class="img"
          alt=""
        />
        <div class="data">
          <span class="key">疑似存在脱粘点位置</span>
          <span class="val">无</span>
        </div>
      </div>
      <div class="monitors">
        <div class="circle">
          <div class="in"></div>
        </div>
        <span class="key">最近一次检测时间</span>
        <span class="val">2024-04-29</span>
      </div>
      <div class="monitors">
        <div class="circle">
          <div class="in"></div>
        </div>
        <span class="key">下次检测时间</span>
        <span class="val">2024-05-06</span>
      </div>
      <img
        src="~@/assets/concreteScreen/btn.png"
        alt=""
        class="business-system"
        @click="goManager"
      />
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  mounted() {},
  computed: {},
  methods: {
    goManager() {
      this.$router.push("/system/project");
    },
  },
};
</script>
<style scoped lang='scss'>
.banner {
  width: vw(606px);
  height: vh(599px);
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  .img {
    height: vh(394px);
  }
  .main {
    height: vh(187px);
    border: 1px solid rgba(66, 167, 182, 0.5);
    padding: vh(15px) vw(24px);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-between;
    .position {
      width: vw(253px);
      height: vh(47px);
      background: rgba(73, 239, 255, 0.1);
      position: relative;
      display: flex;
      align-items: center;
      padding-left: vw(19px);

      .img {
        position: absolute;
        height: vh(10px);
        width: vh(10px);
        top: vh(6px);
        left: vh(6px);
      }
      .data {
        display: flex;
        align-items: center;
        .key {
          font-family: Source Han Sans CN;
          font-size: vh(18px);
          color: #b3b3b3;
        }
        .val {
          font-family: Source Han Sans CN;
          font-weight: bold;
          font-size: vh(22px);
          color: #dafdff;
          margin-left: vw(15px);
        }
      }
    }
    .monitors {
      display: flex;
      align-items: center;
      .circle {
        width: vh(16px);
        height: vh(16px);
        background: rgba(73, 239, 255, 0.5);
        border-radius: 50%;
        display: flex;
        .in {
          width: vh(8px);
          height: vh(8px);
          background: #49efff;
          border-radius: 50%;
          margin: auto;
        }
      }
      .key {
        font-family: Source Han Sans CN;
        font-size: vh(18px);
        color: #b3b3b3;
        margin-left: vw(10px);
        white-space: nowrap;
      }
      .val {
        font-family: D-DIN-PRO;
        font-weight: bold;
        font-size: vh(22px);
        color: #dafdff;
        background: linear-gradient(0deg, #ffdd76 0%, #ffffff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-left: vw(16px);
        white-space: nowrap;

      }
    }
    .business-system {
      height: vh(52px);
      margin: 0 auto;
      cursor: pointer;
    }
  }
}
</style>
